<?php

namespace app\crm\model;

use app\admin\model\Common;

class ShortMessageFast extends Common
{
    protected $name = 'short_message_fast';

    public function record($tpl_id,$fast=0)
    {
        $this->saveAll([
            'user_id'=>$this->userInfo['id'],
            'tpl_id'=>$tpl_id,
            'fast'=>$fast,
            'time'=>time()
        ]);
    }
}
